home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Frameworks / MacZoop 1.6.5 / More Classes / Window Classes / ZPictWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-26  |  866 b   |  53 lines  |  [TEXT/CWIE]

  1. /*************************************************************************************************
  2. *
  3. *
  4. *            ObjectMacZapp        -- a standard Mac OOP application template
  5. *
  6. *
  7. *
  8. *            ZPictWindow.h        -- a window that displays PICT files
  9. *
  10. *
  11. *
  12. *
  13. *
  14. *            © 1996, Graham Cox
  15. *
  16. *
  17. *
  18. *
  19. *************************************************************************************************/
  20.  
  21.  
  22. #pragma once
  23.  
  24. #ifndef __ZPICTWINDOW__
  25. #define __ZPICTWINDOW__
  26.  
  27. #ifndef __ZSCROLLER__
  28. #include    "ZScroller.h"
  29. #endif
  30.  
  31.  
  32. class    ZPictWindow : public ZScroller
  33. {
  34. public:
  35.     PicHandle    thePicture;
  36.  
  37.     ZPictWindow( ZCommander* aBoss, const short windID );
  38.     virtual ~ZPictWindow();
  39.     
  40.     virtual void    DrawContent();
  41.     virtual void    OpenFile( const OSType fType );
  42.     virtual void    SaveFile();
  43.     virtual void    UpdateMenus();
  44.     
  45.     virtual Boolean    CanPasteType();
  46.     virtual void    DoCopy();
  47.     virtual void    DoPaste();
  48. };
  49.  
  50.  
  51.  
  52.  
  53. #endif